3.63 \(\int (a \sec ^4(x))^{3/2} \, dx\)

Optimal. Leaf size=61 \[ a \sin (x) \cos (x) \sqrt {a \sec ^4(x)}+\frac {1}{5} a \sin ^2(x) \tan ^3(x) \sqrt {a \sec ^4(x)}+\frac {2}{3} a \sin ^2(x) \tan (x) \sqrt {a \sec ^4(x)} \]

[Out]

a*cos(x)*sin(x)*(a*sec(x)^4)^(1/2)+2/3*a*sin(x)^2*(a*sec(x)^4)^(1/2)*tan(x)+1/5*a*sin(x)^2*(a*sec(x)^4)^(1/2)*
tan(x)^3

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4123, 3767} \[ a \sin (x) \cos (x) \sqrt {a \sec ^4(x)}+\frac {1}{5} a \sin ^2(x) \tan ^3(x) \sqrt {a \sec ^4(x)}+\frac {2}{3} a \sin ^2(x) \tan (x) \sqrt {a \sec ^4(x)} \]

Antiderivative was successfully verified.

[In]

Int[(a*Sec[x]^4)^(3/2),x]

[Out]

a*Cos[x]*Sqrt[a*Sec[x]^4]*Sin[x] + (2*a*Sqrt[a*Sec[x]^4]*Sin[x]^2*Tan[x])/3 + (a*Sqrt[a*Sec[x]^4]*Sin[x]^2*Tan
[x]^3)/5

Rule 3767

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rule 4123

Int[((b_.)*((c_.)*sec[(e_.) + (f_.)*(x_)])^(n_))^(p_), x_Symbol] :> Dist[(b^IntPart[p]*(b*(c*Sec[e + f*x])^n)^
FracPart[p])/(c*Sec[e + f*x])^(n*FracPart[p]), Int[(c*Sec[e + f*x])^(n*p), x], x] /; FreeQ[{b, c, e, f, n, p},
 x] &&  !IntegerQ[p]

Rubi steps

\begin {align*} \int \left (a \sec ^4(x)\right )^{3/2} \, dx &=\left (a \cos ^2(x) \sqrt {a \sec ^4(x)}\right ) \int \sec ^6(x) \, dx\\ &=-\left (\left (a \cos ^2(x) \sqrt {a \sec ^4(x)}\right ) \operatorname {Subst}\left (\int \left (1+2 x^2+x^4\right ) \, dx,x,-\tan (x)\right )\right )\\ &=a \cos (x) \sqrt {a \sec ^4(x)} \sin (x)+\frac {2}{3} a \sqrt {a \sec ^4(x)} \sin ^2(x) \tan (x)+\frac {1}{5} a \sqrt {a \sec ^4(x)} \sin ^2(x) \tan ^3(x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.06, size = 30, normalized size = 0.49 \[ \frac {1}{15} \sin (x) \cos (x) (6 \cos (2 x)+\cos (4 x)+8) \left (a \sec ^4(x)\right )^{3/2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a*Sec[x]^4)^(3/2),x]

[Out]

(Cos[x]*(8 + 6*Cos[2*x] + Cos[4*x])*(a*Sec[x]^4)^(3/2)*Sin[x])/15

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 34, normalized size = 0.56 \[ \frac {{\left (8 \, a \cos \relax (x)^{4} + 4 \, a \cos \relax (x)^{2} + 3 \, a\right )} \sqrt {\frac {a}{\cos \relax (x)^{4}}} \sin \relax (x)}{15 \, \cos \relax (x)^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(3/2),x, algorithm="fricas")

[Out]

1/15*(8*a*cos(x)^4 + 4*a*cos(x)^2 + 3*a)*sqrt(a/cos(x)^4)*sin(x)/cos(x)^3

________________________________________________________________________________________

giac [A]  time = 0.74, size = 22, normalized size = 0.36 \[ \frac {1}{15} \, {\left (3 \, \tan \relax (x)^{5} + 10 \, \tan \relax (x)^{3} + 15 \, \tan \relax (x)\right )} a^{\frac {3}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(3/2),x, algorithm="giac")

[Out]

1/15*(3*tan(x)^5 + 10*tan(x)^3 + 15*tan(x))*a^(3/2)

________________________________________________________________________________________

maple [A]  time = 0.30, size = 29, normalized size = 0.48 \[ \frac {\left (8 \left (\cos ^{4}\relax (x )\right )+4 \left (\cos ^{2}\relax (x )\right )+3\right ) \cos \relax (x ) \sin \relax (x ) \left (\frac {a}{\cos \relax (x )^{4}}\right )^{\frac {3}{2}}}{15} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*sec(x)^4)^(3/2),x)

[Out]

1/15*(8*cos(x)^4+4*cos(x)^2+3)*cos(x)*sin(x)*(a/cos(x)^4)^(3/2)

________________________________________________________________________________________

maxima [A]  time = 0.44, size = 25, normalized size = 0.41 \[ \frac {1}{5} \, a^{\frac {3}{2}} \tan \relax (x)^{5} + \frac {2}{3} \, a^{\frac {3}{2}} \tan \relax (x)^{3} + a^{\frac {3}{2}} \tan \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(3/2),x, algorithm="maxima")

[Out]

1/5*a^(3/2)*tan(x)^5 + 2/3*a^(3/2)*tan(x)^3 + a^(3/2)*tan(x)

________________________________________________________________________________________

mupad [B]  time = 0.56, size = 36, normalized size = 0.59 \[ \frac {4\,a^{3/2}\,\sin \relax (x)}{5\,{\cos \relax (x)}^3}+\frac {a^{3/2}\,\sin \relax (x)}{5\,{\cos \relax (x)}^5}-\frac {8\,a^{3/2}\,{\sin \relax (x)}^3}{15\,{\cos \relax (x)}^3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a/cos(x)^4)^(3/2),x)

[Out]

(4*a^(3/2)*sin(x))/(5*cos(x)^3) + (a^(3/2)*sin(x))/(5*cos(x)^5) - (8*a^(3/2)*sin(x)^3)/(15*cos(x)^3)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a \sec ^{4}{\relax (x )}\right )^{\frac {3}{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)**4)**(3/2),x)

[Out]

Integral((a*sec(x)**4)**(3/2), x)

________________________________________________________________________________________